package simbot.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;


/**
 * Created by victor on 2020/3/10.
 */
@Data
@TableName(value = "tb_admin_system_role_channel")
public class AdminSystemRoleChannel {

    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private long id;

    /**
     * 管理员ID
     */
    @TableField(value = "admin_id")
    private Long adminId;


    /**
     * 系统ID
     */
    @TableField(value = "system_id")
    private Long systemId;

    /**
     * 角色ID
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     * 渠道ID
     */
    @TableField(value = "channel_id")
    private Long channelId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Long createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Long updateTime;

}
